<form id="pagerForm" action="{:U($module_name.'/'.$action_name)}">
	<input type="hidden" name="pageNum" value="{$pageNum}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="orderField" value="{$orderField}" />
	<input type="hidden" name="orderDirection" value="{$orderDirection}" />
	<input type="hidden" name="keywords" value="{$keywords}" />
	<input type="hidden" name="tn" value="{$tn}" />
	<input type="hidden" name="fn" value="{$fn}" />
	<input type="hidden" name="where" value="{$where}" />
</form>

<div class="pageHeader">
	<form rel="pagerForm" method="post" action="{:U($module_name.'/'.$action_name)}" onsubmit="return dwzSearch(this, 'dialog');">
	<input type="hidden" name="tn" value="{$tn}" />
	<input type="hidden" name="fn" value="{$fn}" />
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>名称:</label>
				<input class="textInput" name="name" value="{$name}" type="text"> 
				<!--  帅选下级分类  由于不能查找带回，代码先注释
				<input id="inputcate1" name="lcat.id" value="{$catid}" type="hidden"/>
				<input class="required" name="lcat.name" value="{$name}" type="text" postField="keywords" suggestFields="id,name" suggestUrl="{:U('Content/suggest',array('tn'=>'product_category_tag','fn'=>'id,name'))}" lookupGroup="lcat"/>
				-->
			</li>
			<div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div>
		</ul>
	</div>
	</form>
</div>
<div class="pageContent">

	<table class="table" layoutH="96" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th width="60" orderField="id" {if $orderField=='id'}class="{$orderDirection}"{/if}>ID</th>
				<th orderField="name" {if $orderField=='name'}class="{$orderDirection}"{/if}>名称</th>
				<th orderField="create_date" {if $orderField=='create_date'}class="{$orderDirection}"{/if}>创建时间</th>
				<th orderField="status" {if $orderField=='status'}class="{$orderDirection}"{/if}>状态</th>
				<th width="80">查找带回</th>
			</tr>
		</thead>
		<tbody>
<volist name="list" id="vo">
			<tr>
				<td>{$vo['id']}</td>
				<td>{$vo['name']}</td>
				<td>{if $vo['create_date']}{$vo['create_date']|date='Y-m-d H:i:s',###}{/if}</td>
				<td>{$vo['status']}</td>
				<td>
	<php>
					echo "<a class=\"btnSelect\" href=\"javascript:$.bringBack({id:'".$vo['id']."', name:'".$vo['name']."'})\" title=\"查找带回\">选择</a>";
	</php>
				</td>
			</tr>
</volist>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
		<select class="combox" name="numPerPage" onchange="navTabPageBreak({targetType:dialog,numPerPage:this.value})">
			<option value="20" {if $numPerPage==20}selected="selected"{/if}>20</option>
			<option value="50" {if $numPerPage==50}selected="selected"{/if}>50</option>
			<option value="66" {if $numPerPage==66}selected="selected"{/if}>66</option>
			<option value="100" {if $numPerPage==100}selected="selected"{/if}>100</option>
			<option value="200" {if $numPerPage==200}selected="selected"{/if}>200</option>
			<option value="500" {if $numPerPage==500}selected="selected"{/if}>500</option>
		</select>
		<span>条，共{$totalCount}条</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$pageNum}"></div>
	</div>
</div>